package com.wujiayu.retry.timer;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @Description: 删除视频定时任务
 * @Author: WuJiaYu
 * @Date: 2021/3/11 3:42 下午
 * @Version: 1.0
 */
@Component
public class DeleteVideoTimedTask {
    @Scheduled(cron = "0/5 * * * * ?")
    public void deleteALiYunVideo(){
        System.out.println("开始执行定时任务！"+new Date());
    }
}
